package com.vm.osm.business.service;

import com.vm.osm.business.dto.rsp.message.RspMessagePage;
import com.vm.osm.business.entity.OsmMessage;

/**
 * Created by chenzui on 2018/3/9.
 */
public interface IOsmMessageService extends IBaseService<OsmMessage,String> {

    public void sendMessage(String companyId, String relaCompanyId, String companyName ,String staffName,String staffId, String content, String receiveTitle,String sendTitle);

    public RspMessagePage querySendMessages(Integer pageNum,Integer pageSize,String companyId);

    public RspMessagePage queryReceiveMessages(Integer pageNum,Integer pageSize,String companyId);

}
